package com.ruoyi.project.app.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 用户对象 n_customer
 * 
 * @author hry
 * @date 2020-10-15
 */
public class AppCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** openid */
    @Excel(name = "openid")
    private String openId;

    /** 登录token */
    @Excel(name = "登录token")
    private String token;

    /** 昵称(有默认值) */
    @Excel(name = "昵称(有默认值)")
    private String nickname;

    /** 头像(有默认值) */
    @Excel(name = "头像(有默认值)")
    private String avatar;

    /** 地址 */
    @Excel(name = "地址")
    private String addr;

    /** 登录密码 */
    @Excel(name = "登录密码")
    private String password;

    /** 支付密码 */
    @Excel(name = "支付密码")
    private String payPassword;

    /** 总金额 */
    @Excel(name = "总金额")
    private String totalAmount;

    /** 充值余额 */
    @Excel(name = "充值余额")
    private String balance;

    /** 赠送余额 */
    @Excel(name = "赠送余额")
    private String giveAmount;

    /** 首次登录(0 是, 1 否) */
    @Excel(name = "首次登录(0 是, 1 否)")
    private String isFirstLogin;

    /** 首次充值(0 是, 1 否) */
    @Excel(name = "首次充值(0 是, 1 否)")
    private String isFirstRecharge;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setOpenId(String openId) 
    {
        this.openId = openId;
    }

    public String getOpenId() 
    {
        return openId;
    }
    public void setToken(String token) 
    {
        this.token = token;
    }

    public String getToken() 
    {
        return token;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }
    public void setAddr(String addr) 
    {
        this.addr = addr;
    }

    public String getAddr() 
    {
        return addr;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setPayPassword(String payPassword) 
    {
        this.payPassword = payPassword;
    }

    public String getPayPassword() 
    {
        return payPassword;
    }
    public void setTotalAmount(String totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public String getTotalAmount() 
    {
        return totalAmount;
    }
    public void setBalance(String balance) 
    {
        this.balance = balance;
    }

    public String getBalance() 
    {
        return balance;
    }
    public void setGiveAmount(String giveAmount) 
    {
        this.giveAmount = giveAmount;
    }

    public String getGiveAmount() 
    {
        return giveAmount;
    }
    public void setIsFirstLogin(String isFirstLogin) 
    {
        this.isFirstLogin = isFirstLogin;
    }

    public String getIsFirstLogin() 
    {
        return isFirstLogin;
    }
    public void setIsFirstRecharge(String isFirstRecharge) 
    {
        this.isFirstRecharge = isFirstRecharge;
    }

    public String getIsFirstRecharge() 
    {
        return isFirstRecharge;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("phone", getPhone())
            .append("openId", getOpenId())
            .append("token", getToken())
            .append("nickname", getNickname())
            .append("avatar", getAvatar())
            .append("addr", getAddr())
            .append("password", getPassword())
            .append("payPassword", getPayPassword())
            .append("totalAmount", getTotalAmount())
            .append("balance", getBalance())
            .append("giveAmount", getGiveAmount())
            .append("isFirstLogin", getIsFirstLogin())
            .append("isFirstRecharge", getIsFirstRecharge())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
